<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "set_user_up".
 *
 * @property int $id
 * @property float $vip1 购买金额
 * @property float $vip2 升级成 分公司, 推两会员
 * @property float $vip3 升级联创, 推20分公司
 * @property int $vip2_2 升级股东, 推20联创
 * @property int|null $vip3_2
 * @property int|null $vip2_has_vip1
 * @property int|null $vip3_has_vip1
 * @property int|null $vip3_has_vip2
 * @property float|null $vip1_vip1
 * @property float|null $vip1_vip2
 * @property float|null $vip1_vip3
 * @property float|null $vip2_vip1
 * @property float|null $vip2_vip2
 * @property float|null $vip2_vip3
 * @property float|null $vip3_vip1
 * @property float|null $vip3_vip2
 * @property float|null $vip3_vip3
 * @property float|null $feel_vip1
 * @property float|null $feel_vip2
 * @property float|null $feel_vip3
 * @property float|null $t1
 * @property float|null $t2
 * @property float|null $e
 */
class SetUserUp extends \yii\db\ActiveRecord
{
    use SetUserUpCommon;


    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'set_user_up';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['vip1', 'vip2', 'vip3', 'vip1_vip1', 'vip1_vip2', 'vip1_vip3', 'vip2_vip1', 'vip2_vip2', 'vip2_vip3', 'vip3_vip1', 'vip3_vip2', 'vip3_vip3', 'feel_vip1', 'feel_vip2', 'feel_vip3', 't1', 't2', 'e'], 'number'],
            [['vip2_2', 'vip3_2', 'vip2_has_vip1', 'vip3_has_vip1', 'vip3_has_vip2'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'vip1' => 'Vip 1',
            'vip2' => 'Vip 2',
            'vip3' => 'Vip 3',
            'vip2_2' => 'Vip 2  2',
            'vip3_2' => 'Vip 3  2',
            'vip2_has_vip1' => 'Vip 2 Has Vip 1',
            'vip3_has_vip1' => 'Vip 3 Has Vip 1',
            'vip3_has_vip2' => 'Vip 3 Has Vip 2',
            'vip1_vip1' => 'Vip 1 Vip 1',
            'vip1_vip2' => 'Vip 1 Vip 2',
            'vip1_vip3' => 'Vip 1 Vip 3',
            'vip2_vip1' => 'Vip 2 Vip 1',
            'vip2_vip2' => 'Vip 2 Vip 2',
            'vip2_vip3' => 'Vip 2 Vip 3',
            'vip3_vip1' => 'Vip 3 Vip 1',
            'vip3_vip2' => 'Vip 3 Vip 2',
            'vip3_vip3' => 'Vip 3 Vip 3',
            'feel_vip1' => 'Feel Vip 1',
            'feel_vip2' => 'Feel Vip 2',
            'feel_vip3' => 'Feel Vip 3',
            't1' => 'T 1',
            't2' => 'T 2',
            'e' => 'E',
        ];
    }
}
